﻿<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>@ViewBag.Title</title>
        <meta name="viewport" content="width=device-width" />
        <link href="~/Content/images/favicon.ico" rel="shortcut icon" type="image/x-icon" />
        @Styles.Render("~/Content/css")
        @Scripts.Render("~/bundles/modernizr")
    </head>
    <body>
        <div class="navbar navbar-inverse navbar-fixed-top">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    @Html.ActionLink("Keep Link", "Index", "Home", null, new { @class = "navbar-brand" })
                </div>
                <div class="navbar-collapse collapse">
                    <ul class="nav navbar-nav">
                        <li>@Html.ActionLink("Home", "Index", "Home")</li>
                        <li>@Html.ActionLink("About", "About", "Home")</li>
                        <li>@Html.ActionLink("Contact", "Contact", "Home")</li>
                    </ul>
                    @Html.Partial("_LoginPartial")
                </div>
            </div>
        </div>
        <div id="wrapper">

@if (Request.IsAuthenticated)
        {

            <div id="sidebar-wrapper" class="col-sm-2">
                <div id="sidebar">
                    <ul class="nav nav-pills nav-stacked">
                        <li>
                            <input type="text" class="form-control" placeholder="Search">
                         </li>
                         <li class="active">@Html.ActionLink("Inbox", "Index", "Link")</li>
                                               @*<li>@Html.ActionLink("About", "About", "Home")</li>
            <li>@Html.ActionLink("Contact", "Contact", "Home")</li>
            <li>@Html.ActionLink("Link", "Create", "Link")</li>*@
                    </ul>                       
                </div>
            </div>

        }
            <div id="main-wrapper" class="col-sm-10 pull-right">
                <div id="main">
                    <div class="page-header">
                        <h3>Keep Your Link Here</h3>
                    </div>
                    @RenderBody()
                </div>
            </div>
            <div class="col-sm-12 footer">
                <ul class="list-inline"><li><a href="">Footer</a></li></ul>
            </div>
        </div>
        @*----EndOfMyCode-----*@
        @Scripts.Render("~/bundles/jquery")
        @Scripts.Render("~/bundles/jqueryval")
        @RenderSection("scripts", required: false)
    </body>
</html>
